package com.fowo.api.service.handleWork;

import com.fowo.api.model.listing.father.ListingFatherSyncProductAction;
import com.fowo.api.service.LingXingInterfaceService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ListingFatherSyncProduct implements ListingFatherSyncProductAction {

    @Resource
    private LingXingInterfaceService lingXingInterfaceService;

    @Override
    public void run() throws Exception {
        lingXingInterfaceService.syncListing();
    }

}
